﻿namespace Aurora.AI.Wiki.Domain.Domain.Wikis.Aggregates;

public class Wiki : BaseEntity
{
    /// <summary>
    /// 图标
    /// </summary>
    public string Icon { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }


    /// <summary>
    /// 知识库模型
    /// </summary>
    public string Model { get; set; }

    /// <summary>
    /// 知识库向量化模型
    /// </summary>
    public string EmbeddingModel { get; set; }


    /// <summary>
    /// 向量数据库类型  none  mem0
    /// </summary>
    public string VectorType { get; set; }
    public Wiki()
    {
    }

    public Wiki(string icon, string name, string model, string embeddingModel)
    {
        Icon = icon;
        Name = name;
        Model = model;
        EmbeddingModel = embeddingModel;
        CreationTime=DateTime.Now;
        IsDeleted=false;
    }
}